StoreEngine\Integrations\MembershipAddon S

Total Complexity 49
Dependencies 9
Dependents 1
Total lines 211
Lines of code 169
Logical lines of code 87
Comment lines 0
Methods 20
Properties 0

Methods 20

Method Rating Maintainability Complexity Lines of code
change_enrollment_form()
A
49 8 28
purchase_created()
S
56 7 17
is_available_membership()
S
57 6 19
generate_enrollment_form()
S
69 4 6
get_items()
S
54 2 23
get_only_membership_integrations()
S
66 3 9
is_purchased_membership()
S
67 3 8
is_enrolled()
S
70 2 6
stop_from_redirecting()
S
72 2 6
get_post_id()
S
70 2 6
get_id()
S
82 1 3
get_item()
S
82 1 3
get_items_label()
S
79 1 3
get_enrollment_template()
S
67 1 8
load_enrolled_template()
S
69 1 7
enabled()
S
80 1 3
course_type()
S
79 1 3
get_logo()
S
79 1 3
get_label()
S
79 1 3
__construct()
S
71 1 5